<?php 
include_once("../configuracion/config.php"); 
	//Tabs
	$varTab = "tabEventos-1";
	//echo "<div id=\"tabsEventos\">\n";
	echo "<div id='tabs'>\n";
	echo "<ul id=\"tabsEventos-nav\">\n";
	$arrTab = array(
		array("Comming","tabEventos-1"),
		array("Past","tabEventos-2")
	);
	/*for ($i = 1; $i <= count($arrTab); $i += 1) {
		echo "<li id=\"" . $arrTab[$i-1][1] . "\" class=\"tab";
		if ($arrTab[$i-1][1] == $varTab) {
			echo " active";
		}
		echo "\"><a href=\"?tab=" . $arrTab[$i-1][1] . "\"><span id=\"" . $arrTab[$i-1][1] . "-loading\" class=\"tab-loading\"></span><span class=\"tab-label\">" . $arrTab[$i-1][0] . "</span></a></li>\n";
	}*/
	for ($i = 1; $i <= count($arrTab); $i += 1) {
		echo "<li";
	   if ($arrTab[$i-1][1] == $varTab) {
	   	echo " id='current'";
		} else {
			echo " id='idev".$i."'";
		}
	echo "\"><a id='" . $arrTab[$i-1][1] . "' href='?tab=" . $arrTab[$i-1][1] ;
		echo "'><span >".$arrTab[$i-1][0] . "</span></a></li>";
	}
	
	echo "</ul>\n";
	echo "</div>\n";
	echo "<div id=\"tabs-content\">\n";
	include("EventosController.php");
	echo "</div>\n";
	
	?>
